package com.rc.saas.mini.mapper.ugs;

import com.rc.saas.mini.common.base.BaseMapper;
import com.rc.saas.mini.model.ugs.UgsMemberLevelRecord;
import com.rc.saas.mini.model.ugs.UgsMemberLevelRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UgsMemberLevelRecordMapper extends BaseMapper<Long, UgsMemberLevelRecord, UgsMemberLevelRecordExample> {
    Integer countGrowthValueByYearMonth(@Param("memberId") Long memberId,@Param("yearMonth") String yearMonth);

    List<UgsMemberLevelRecord> listByGrowingTypeMemberIdIntraday(@Param("tenantCode") String tenantCode, @Param("growingTypeId") Long growing_type_id, @Param("memberId") Long memberId);

    Integer countByMemberId(@Param("tenantCode") String tenantCode, @Param("memberId") Long memberId,@Param("growingTypeId")Long growingTypeId );
}